1 REM +-------------------+ + ANIMATED ANAGRAMS + + + + KARL S. WITTMAN + + + + USING THE + + GRAPHICS MAGICIAN + +-------------------+<CTRL-J><CTRL-J>
2 GOSUB 1000
3 TEXT : HOME : VTAB 10: INVERSE : PRINT "INSTRUCTIONS";: NORMAL : INPUT " (Y/N) ? ";AN$: IF AN$ = "Y" THEN GOSUB 2000
4 HOME : VTAB 10: FLASH : PRINT "LOADING PROGRAM ... ": NORMAL
5 HIMEM: 26139
10 PRINT CHR$(4);"BLOAD LETTERS.ANM"
15 HGR2
20 KK = 0
25 ONERR GOTO 999
30 READ A$,ANA$
35 B$ = ""
40 IF LEN(A$) >28 THEN 30
50 HGR : HOME
55 HTAB 1: VTAB 21: PRINT "YOUR ANSWER:";
56 HTAB 1: VTAB 23: PRINT "TIME= ";
60 FOR I = 1 TO LEN(A$)
65 A = ASC( MID$ (A$,I,1)) -65
70 IF A <0 OR A >25 THEN POKE 37888 +I -1,26: GOTO 80
75 POKE 37888 +I -1,A
80 NEXT I
90 FOR J = I TO 28: POKE 37888 +J -1,26: NEXT : POKE 37916,255
106 IF KK = 200 THEN PRINT CHR$(7): FLASH : HOME : VTAB 21: PRINT "TIME IS UP.";: NORMAL : PRINT " THE ANSWER IS ";: INVERSE : PRINT ANA$: NORMAL : FOR P = 1 TO 2000: NEXT P: GOTO 20